package com.yami.shop.mystery.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 白名单导入记录
 *
 * @author wxf
 * @date 2023/4/4 9:41
 */
@Data
@TableName("tz_activity_white")
public class ActivityWhite implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @Schema(description = "主键")
    private long id;

    @Schema(description = "活动ID")
    private long activityId;

    @Schema(description = "批次号")
    private String batchNo;

    @Schema(description = "白名单人数")
    private long whiteNum;

    @Schema(description = "店铺id")
    private long shopId;

    @Schema(description = "创建时间")
    private Date creatTime;

    @Schema(description = "修改时间")
    private Date updateTime;

    @Schema(description = "优先购数量")
    @TableField(exist = false)
    private long purchaseNum;

    @Schema(description = "优惠购数量")
    @TableField(exist = false)
    private long discountsNum;

    @Schema(description = "大众购买数量")
    @TableField(exist = false)
    private long publicNum;

}
